package com.jichangxiu.system.mapper;

import com.jichangxiu.framework.mapper.BaseMapper;
import com.jichangxiu.system.entity.po.SysPower;
import com.jichangxiu.system.entity.vo.SysPowerVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * SysPowerMapper:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:36
 */
@Mapper
public interface SysPowerMapper extends BaseMapper<SysPower, SysPowerVo> {

    /**
     * 根据租户ID和用户ID查询系统权限列表
     *
     * @param menuIdList 菜单ID列表
     * @return 系统权限列表
     */
    public List<SysPowerVo> listsByMenuIdList(List<String> menuIdList);

}